<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $common[0]['title']?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

<base href="<?php echo site_url('static/weixincard/'.$wechat['weixincardtpl'])?>/">
<link href="css/style.css" rel="stylesheet"/>
<script src="<?php echo URLPRE?>static/public/js/jquery/jquery-1.11.1.min.js"></script>
</head>
<body>
<div id="dy-head">
  <div id="title">旅游专家</div>
  <div class="avatar-wrapper">
    <div id="avatar"> <img src="<?php echo URLPIC.$info['avatar']?>" alt="@<?php echo $info['realname']?>" /> </div>
  </div>
  <div id="name">
    <p><?php echo $info['realname']?></p>
    <p class="at"><?php /*echo $info['realname']*/?>&nbsp;</p>
  </div>
  <div id="dy-bg" style="background-image:url(images/head-bg3.jpg)"></div>
</div>
<div id="dy-link"> <a href="tel:<?php echo $info['mobile']?>" class="tel-report"> <img src="images/phone.png" width="100" height="66" alt="" /> </a>
  <p><?php /*echo $info['realname']*/?>&nbsp;</p>
  <p><?php echo $company?> </p>
</div>
<div class="search search_dy">
<!--  <form action="#" class="search_frm" method="get">-->
<!--    <input type="hidden" value="5495" name="gid" />-->
<!--    <input type="hidden" name="t" />-->
<!--    <input type="search" class="search_txt" id="topSearchTxt" placeholder="搜路线/景点" name="s">-->
<!--  </form>-->
  <form action="<?php echo  site_url('/mobile/line/index/').'/'?>" method="get" id="searchForm" accept-charset="utf-8" style="
    display: block;
    height: 42px;
    overflow: hidden;">
        <input name="keyword" type="search" class="search_txt" id="topSearchTxt" placeholder="搜路线/景点">
        <input type="hidden" name="cat_id" value="0" />
        <input type="submit" class="searchGo" value="">
    </form>
</div>
<style>
    #content>div>a:nth-child(1)>div{background-color:#ffce54;border-bottom-color:#E0B54A;}
    #content>div>a:nth-child(2)>div{background-color:#fc6e51;border-bottom-color:#DE6147;}
    #content>div>a:nth-child(3)>div{background-color:#48cfad;border-bottom-color:#3FB698;}
    #content>div>a:nth-child(4)>div{background-color:#3dbd3a;border-bottom-color:#36A633;}
    #content>div>a:nth-child(5)>div{background-color:#ed5565;border-bottom-color:#D14B59;}
    #content>div>a:nth-child(6)>div{background-color:#4fc1e9;border-bottom-color:#46AACD;}
    #content>div>a:nth-child(7)>div{background-color:#ac92ec;border-bottom-color:#9780D0;}
    #content>div>a:nth-child(8)>div{background-color:#e81c34;border-bottom-color:#CC192E;}
    #content>div>a>div{margin-right:0!important;}
    #content>div>a:nth-child(2n)>div{margin-left:2%!important;}
</style>
<!--
<?php echo $ctrip_flight?>
<?php echo $ctrip_hotel?>
-->
<div id="content">
    <div>
        <?php
        $TEMPLATE = <<<html
{listinfo}
<a href="{link}">
    <div class="lx1 lx">
        <img src="{pic}"/>
        <h1>{title}</h1>
        <p>{sub_title}</p>
    </div>
</a>
{/listinfo}
html;

        diy('glass_index_imagelist_listbar', 'imagelist', $TEMPLATE);
        ?>
        <!--<a href="<?php /*echo site_url('mobile/line?cat_id=3'); */?>">
            <div class="lx1 lx"><img src="images/chujing.png"/><h1>出境旅游</h1><p>出境跟团游</p></div>
        </a>
        <a href="<?php /*echo site_url('mobile/line?mark=尾单'); */?>">
            <div class="lx2 lx">
                <img src="images/de360680325d4daea2217ab537a7d4b4428.png"/>

                <h1>特价旅游</h1>

                <p>尾单线路</p>
            </div>
        </a>
        <a href="<?php /*echo site_url('mobile/line?cat_id=2'); */?>">
            <div class="lx3 lx" style=""><img src="images/guonei.png"/>

                <h1>周边旅游</h1>

                <p>台湾 港澳 日韩</p>
            </div>
        </a>
        <a href="<?php /*echo site_url('mobile/line?cat_id=1'); */?>">
            <div class="lx4 lx" style=""><img src="images/zijia.png"/>

                <h1>国内旅游</h1>

                <p></p>
            </div>
        </a>
        <a href="<?php /*echo site_url('mobile/scenery/index'); */?>">
            <div class="lx5 lx" style="">
                <img src="images/menpiao.png"/>

                <h1>门票</h1>

                <p></p>
            </div>
        </a>
        <a href="<?php /*echo $ctrip_flight; */?>">
            <div class="lx6 lx" style=""><img src="images/jipiao.png"/>

                <h1>机票</h1>

                <p></p>
            </div>
        </a>
        <a href="<?php /*echo $ctrip_hotel; */?>">
            <div class="lx1 lx" style=";"><img src="images/hotel.png"/>

                <h1>酒店</h1>

                <p></p>
            </div>
        </a>
        <a href="<?php /*echo site_url('mobile/trips/index?category=1'); */?>">
            <div class="lx2 lx" style=""><img src="images/daren.png"/>

                <h1>美食</h1>

                <p></p>
            </div>
        </a>-->
    </div>

    <div class="part">
        <ul class="">
            <li class="top"><span style="border-left-color:#e81c34;">最新特惠</span></li>
            <?php
            $tpl = <<<HTML
{linelist}
<a href="{link}">
    <li>
        <div class="newimg" style="background-image:url({line_thumb})"></div>
        <h2>{line_name}</h2>
        <span class="price">{dollar}{low_price}</span>
    </li>
</a>
{/linelist}
HTML;
            if (trim($info['lines'])) {
                $CI = new CI_Module();
                $CI->load->model('diy.diy_model');
                $CI->diy_model->__init_CI(1);
                echo $CI->diy_model->process_linelist(array('line_numbers' => $info['lines']), $tpl);
            } else {
                diy('mobile_hotline_02', 'linelist', $tpl);
            }
            ?>
        </ul>
    </div>
</div>
<div class="clear"></div>
<div id="footer">
  <div class="padding">
    <hr />
    <a href="#"><span style="font-size:smaller">技术支持：掌旅宝网络科技有限公司</span></a>
    <div class="clear"></div>
  </div>
</div>
<?php echo $sharehtml?>
</body>
</html>
